<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>position定位</title>
    <style type="text/css">
        body {
            margin: 20px;
            font-family: Arial;
            font-size: 12px;
        }

        #father {
            background-color: #a0c8ff;
            border: 1px dashed #000000;
            padding: 15px;
        }

        #son {
            background-color: #D2B48C;
            border: 1px dashed #000000;
            padding: 10px;
            position: relative;
            right: 28px;
            bottom: 28px;
        }
    </style>
</head>

<body>
    <div id="father">
        <div id="son">Box盒子</div>
    </div>
</body>

</html>